package config

import (
	"github.com/zeromicro/go-zero/core/stores/cache"
	"github.com/zeromicro/go-zero/core/stores/redis"
	"github.com/zeromicro/go-zero/zrpc"
)

type Config struct {
	zrpc.RpcServerConf

	Query struct {
		DefaultAmount            int64
		MaxAmount                int64
		DefaultCategoryId        int64
		DefaultElasticSearchHost string
		GorseUrl                 string
	}

	Mysql struct {
		DataSource string
	}

	BizRedis redis.RedisConf

	CacheRedis cache.CacheConf

	UserRpc       zrpc.RpcClientConf
	AttachmentRpc zrpc.RpcClientConf
}
